package com.ouc.mapper;

import com.ouc.entity.ShippingAddress;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Name: ShippingAddressMapper
 * @Description:
 * @Author: Mr.Tong
 */
@Mapper
@Repository
public interface ShippingAddressMapper {

    public ShippingAddress getAddress(ShippingAddress shippingAddress);

    public Boolean insertAddress(ShippingAddress shippingAddress);

    public List<ShippingAddress> getAllAddress(Integer userId);

    public Boolean deleteAddress(Integer id);


}
